package com.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.entity.About;
import com.repository.AboutDao;
import com.service.base.BaseServiceImp;

@Service("AboutService")
public class AboutServiceImp extends BaseServiceImp<About> implements  AboutService{
	@Autowired
	private AboutDao aboutDao;
	
	@Override
	@Transactional
	public boolean insertprice(About o) {
		About appr=new About();
		List<About> apprs=aboutDao.find(appr);
		if (apprs.size()>0) {
			return false;
		}
		return true;
	}
	
}
